use clap::{Parser, Subcommand};

#[derive(Parser, Debug)]
pub struct CommandsFile {
    /// 传输类型
    #[command(subcommand)]
    mode: Mode,
}

#[derive(Subcommand, Debug)]
enum Mode {
    /// send file
    Send {
        /// send local remote
        input: Vec<String>,
    },
    /// recv file
    Recv {
        /// revcv remote local
        input: Vec<String>,
    },
}
